package schoolWork.work02;

public class EmployeeDemo {
    public static void main(String[] args) {

        Employee peo1 = new Employee();
        Employee peo2 = new Employee("张三", 10000);

        peo1.setName("李四");
        System.out.println(peo1.getName());
        peo1.setSalary(5000);
        System.out.println(peo1.getSalary());

        peo2.raiseSalary(0.1);
        System.out.println(peo2.getName());
        System.out.println(peo2.getSalary());
    }
}
